package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName MemberInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 15:54
 */
public class MemberInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 会员价格id */
    @Excel(name = "会员价格id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 黄金会员 */
    @Excel(name = "黄金会员")
    private String goldMember;

    /** 白金会员 */
    @Excel(name = "白金会员")
    private String platinumMember;

    /** 钻石会员 */
    @Excel(name = "钻石会员")
    private String diamondMember;

    /** 优惠方式id */
    @Excel(name = "优惠方式id")
    private Integer discountsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGoldMember() {
        return goldMember;
    }

    public void setGoldMember(String goldMember) {
        this.goldMember = goldMember;
    }

    public String getPlatinumMember() {
        return platinumMember;
    }

    public void setPlatinumMember(String platinumMember) {
        this.platinumMember = platinumMember;
    }

    public String getDiamondMember() {
        return diamondMember;
    }

    public void setDiamondMember(String diamondMember) {
        this.diamondMember = diamondMember;
    }

    public Integer getDiscountsId() {
        return discountsId;
    }

    public void setDiscountsId(Integer discountsId) {
        this.discountsId = discountsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goldMember", getGoldMember())
                .append("platinumMember", getPlatinumMember())
                .append("diamondMember", getDiamondMember())
                .append("discountsId", getDiscountsId())
                .toString();
    }
}
